import Blank from '@/views/Blank'

export default [
  {
    path: '/cors',
    name: 'CORS',
    component: Blank,
    meta: {icon: 'share'},
    children: [
      {
        path: 'same-origin-policy',
        name: '同源政策',
        component: () => import('@/views/cors/SameOriginPolicy'),
        meta: {icon: 'location_on'}
      },
      {
        path: 'cors',
        name: '跨域资源共享',
        component: () => import('@/views/cors/Cors'),
        meta: {icon: 'location_off'}
      }
    ]
  }
]